package com.learning.spring.cloud.mapper;

import com.learning.spring.cloud.domain.model.ProductInventory;
import com.learning.spring.cloud.dto.ProductInventoryDto;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface ProductInventoryMapper {
    ProductInventoryMapper INSTANCE = Mappers.getMapper(ProductInventoryMapper.class);

    ProductInventoryDto toDto(ProductInventory doctor);

    ProductInventory toOrder(ProductInventoryDto orderDto);


}
